Namespaces

Functions

string
azureEndpoint(string $disk = 'libraries')

No description

string
bytesToHuman(float $bytes)

No description

camelCaseToWords($camelCaseString)

No description

capsule_namespace($capsuleName, $type = null)
deprecated

No description

capsule_namespace_to_path($namespace, $capsuleNamespace, $rootPath)
deprecated

No description

bool
classHasTrait(mixed $class, string $trait)

No description

array
classUsesDeep(mixed $class, bool $autoload = true)

No description

void
createDefaultRelationshipTableFields(Blueprint $table, string $table1NameSingular, string $table2NameSingular, string|null $table1NamePlural = null, string|null $table2NamePlural = null)

No description

void
createDefaultRevisionsTableFields(Blueprint $table, string $tableNameSingular, string|null $tableNamePlural = null)

No description

void
createDefaultSlugsTableFields(Blueprint $table, string $tableNameSingular, string|null $tableNamePlural = null)

No description

void
createDefaultTableFields(Blueprint $table, bool $softDeletes = true, bool $published = true, bool $publishDates = false, bool $visibility = false)

No description

void
createDefaultTranslationsTableFields(Blueprint $table, string $tableNameSingular, string|null $tableNamePlural = null)

No description

dumpUsableSqlQuery($query)

No description

void
fireCmsEvent(string $eventName, array $input = [])

No description

fix_directory_separator(string $path)

No description

array
generate_list_of_available_blocks(array $blocks, array $groups, bool $settingsOnly = false, array $excludeBlocks = [])

No description

getAllModules()

No description

getCodeToLanguageMappings()

No description

mixed
getFormFieldsValue(array $formFields, string $name, mixed $default = null)

No description

string
getLanguageLabelFromLocaleCode(string $code, $native = false)

No description

array
getLanguagesForVueStore(array $form_fields = [], bool $translate = true)

No description

string
getLikeOperator()

No description

string[]
getLocales()

No description

getModelByModuleName($moduleName)

No description

getModelController(TwillModelContract $model)

No description

getModelRepository($relation, $model = null)

No description

getModuleNameByModel($model)

No description

getRepositoryByModuleName($moduleName)

No description

string
icon(string $name, array $opts = [])

ARIA roles memo: 'presentation' means merely decoration. Otherwise, use role="img".

isUserGroupPermissionItemExists($user, $item, $permission)

No description

isUserGroupPermissionModuleExists($user, $moduleName, $permission)

No description

make_twill_directory(string $path, bool $recursive = true, Filesystem|null $fs = null)

No description

string
moduleRoute(string $moduleName, string|null $prefix = null, string $action = '', array|int|string $parameters = [], bool $absolute = true)

No description

bool|string
replaceAccents(string $str)

No description

string
revAsset(string $file)

No description

string
s3Endpoint(string $disk = 'libraries')

No description

string
sanitizeFilename(string $filename)

No description

str_after_last($subject, $search)

No description

string
twillAsset(string $file)

No description

string
twillModel($model)

No description

twillTrans($key, $replace = [])

No description

twillViewName($module, $suffix)

No description

string
twill_path(string $path = '')

No description

twill_put_stub(string $path, $stub, Filesystem|null $fs = null)

No description

updatePermissionGroupOptions($options, $item, $group)

No description

updatePermissionOptions($options, $user, $item)

No description